﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace LPV_POS.mh_pos.mh_inbaocao
{
    public partial class frmBaoCao_CongNo_NhaCungCap_CT : Form
    {
        public frmBaoCao_CongNo_NhaCungCap_CT(string sNHACC_MA, string sNHACC_TEN)
        {
            InitializeComponent();
            DataTable tb = new thuvien().SP_SelectDataTable("sp_DM_CONGNO_NHACUNGCAP", new string[] { "@flag", "@NHACC_MA" }, new object[] { 5,sNHACC_MA });
            grdData.DataSource = tb;
            btnExcel.Enabled = tb.Rows.Count > 0;
            this.Text = "     "+sNHACC_TEN.ToUpper();
        }

        private void frmBaoCao_CongNo_NhaCungCap_CT_Load(object sender, EventArgs e)
        {

        }

        private void btnThoat_Click(object sender, EventArgs e)
        {
            this.Dispose();
        }
    }
}
